package com.college.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 专业
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Getter
@Setter
@TableName("major_info")
@ApiModel(value = "MajorInfo对象", description = "专业")
public class MajorInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("专业名称")
    @TableField("major_name")
    private String majorName;

    @ApiModelProperty("专业编号")
    @TableField("major_number")
    private String majorNumber;

    @ApiModelProperty("所属院系编号")
    @TableField("department_number")
    private String departmentNumber;


}
